import { USER_UPDATE_AGE, USER_UPDATE_NAME } from '../constants/user'

export const updateName = (payload) => ({
  type: USER_UPDATE_NAME,
  payload,
})

export const updateAge = (payload) => ({
  type: USER_UPDATE_AGE,
  payload,
})
